import { ApiProperty } from '@nestjs/swagger';

export class PayForTokenDto {
  @ApiProperty()
  userId: string;

  @ApiProperty()
  price: number;

  @ApiProperty()
  token: number;
}

export class PayForVipDto {
  @ApiProperty()
  userId: string;

  @ApiProperty()
  price: number;

  @ApiProperty()
  token: number;

  @ApiProperty()
  invitationCode: string;
}

export class PayForCouponDto {
  @ApiProperty()
  orderId: string;

  @ApiProperty()
  couponId: string;
}

export class PayForTaskDto {


  // 预约时间 
  @ApiProperty()
  time: string;

  // 备注
  @ApiProperty()
  desc: string;

  // 图片列表
  @ApiProperty()
  imageList: string[];

  // 用户id
  @ApiProperty()
  userId: string;

  // 取件个数
  @ApiProperty()
  takeNum: number;

  // 大件个数
  @ApiProperty()
  takeBigNum: number;

  // 订单类型
  @ApiProperty()
  orderType: string;

  // 订单金额
  @ApiProperty()
  orderAmount: number;

  // 完整地址
  @ApiProperty()
  fullAddress: string;

}

export class RefundDto {
  @ApiProperty()
  id: string;
}
